<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>第三方平台查询</title>
<link rel="shortcut icon" href="<?php echo base_url()?>public/images/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- basic styles -->
<link rel="stylesheet" href="<?php echo base_url()?>themes/gasstation/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="<?php echo base_url()?>themes/gasstation/css/css.css" />
<link rel="stylesheet" href="<?php echo base_url()?>themes/gasstation/layui/css/layui.css" />
<script type="text/javascript" src="<?php echo base_url()?>themes/gasstation/layui/layui.js" ></script>
<script type="text/javascript" src="<?php echo base_url()?>themes/gasstation/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>themes/gasstation/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<?php echo base_url() ?>public/js/validform.js"></script>
<script type="text/javascript" src="<?php echo base_url() ?>public/js/web_socket.js"></script>

</head>
<body>
<header>
	<div class="head_left">
		<a href="<?php echo site_url("third/admin") ?>">
			<img src="<?php echo base_url()?>themes/gasstation/images/logo.png" />
		</a>
	</div>
	<div class="head_right">
		
		
		<div class="news" style="padding-top: 12px;">
			<?php if($_SESSION['THIRD_USER_ID'] == 1):?>
			<select id='sel-city'>
				<option value="0" <?php if($city_id == 0):?> selected <?php endif?> >全部</option>
				<?php if(count($city) > 0):?>
				<?php foreach($city as $row):?>
					<option value="<?php echo $row['id']?>" <?php if($city_id == $row['id']):?> selected <?php endif?> ><?php echo $row['name']?></option>
				<?php endforeach?>
				<?php endif?>
			</select>
			<?php endif?> 
		</div>
		<div class="user">
			<ul class="layui-nav">
			  <li class="layui-nav-item">
			    <span><?php echo $_SESSION['THIRD_USER_NAME']?></span> | <a class="name" style="display:inline; margin:0px; padding:0px;" href="<?php echo site_url("third/index/logout")?>">退出</a>
			  
			  </li>
			</ul>
			
		</div>
		<div class="clear"></div>
	</div>
	<div class="clear"></div>
			<div id="bdtts_div_id">
			<audio id="tts_autio_id" autoplay="autoplay" hidden="true">
				<source id="tts_source_id" src="" type="audio/mpeg">
				<embed id="tts_embed_id" height="0" width="0" src="">
			</audio>
		</div>
</header>
<script type="text/javascript">
	$('#sel-city').change(function(){
		var selected=$(this).children('option:selected').val();
		window.location.href='<?php echo 'https://'.$_SERVER["HTTP_HOST"].$_SERVER['PHP_SELF'].'?city_id='?>'+selected;
	})
</script>
<div class="wrap">
